namespace java com.ydche.idl_output
namespace go kernel

include "structs.thrift"


service IKernelRpcService{
    #车架号获取车辆信息
    structs.CarInfoByVinResp GetCarinfoByVin(1:string vinNo),
    #车牌获取车辆信息和车型信息
    structs.CarInfoByLicenseResp GetCarinfoByLicenseNo(1:string licenseNo),
    #模糊查询车型信息
    structs.FuzzyCarBrandResp FuzzyCarBrand(1:string brandName, 2:string page, 3:string row),
    #车牌和车架号获取车型信息
    structs.CarModelResp GetCarModel(1:string licenseNo, 2:string frameNo),
    #bizID获取支付链接
    structs.PayLinkResp GetPayLink(1:string applicationID, 2:string bizId),
    #行驶证识别
    structs.AnalyzingResp AnalyzingDriving(1:string applicationID, 2:string imgBase64, 3:string imgUrl),
    #上传行驶证、身份证等信息
    structs.ImgUploadResp ZtImageUpload(1:structs.ZtUploadParm uploadParm),
    #获取险种信息
    structs.RiskResp GetRiskList(),
    #查询车辆的保险信息
    structs.InsuranceResp GetInsuranceInfo(1:structs.CarInfoParm carParm),
    #获取地区支持的保险公司
    structs.SupportInsuranceResp GetSupportInsuranceUnit(1:string applicationID, 2:string provinceCode, 3:string cityCode),
    #精准报价
    structs.AccurateQuoteResp AccurateQuote(1:structs.AccurateQuoteParm parm),
    #核保
    structs.ReinsurResp Reinsur(1:structs.ReinsurParm parm),
}


